/*
 *
 *      Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the pig4cloud.com developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: lengleng (wangiegie@gmail.com)
 *
 */

package com.pig4cloud.pig.ai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.ai.api.vo.CollectionVO;
import com.pig4cloud.pig.ai.api.vo.DataVO;
import com.pig4cloud.pig.ai.api.vo.KnowledgeVO;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sxg
 * @since 2017-11-20
 */
public interface knowZskService {

	
	Page fastList(Page page,KnowledgeVO knowledgeVO) throws IOException;

	//创建知识库
	Boolean saveCreate(KnowledgeVO knowledgeVO);

	KnowledgeVO getByid(String id);

	Boolean deleteByid(String id);

	Page dataSetList(Page page,CollectionVO collectionVO) throws IOException;

	Boolean collectionCreate(CollectionVO collectionVO);

	Boolean createText(CollectionVO vo);

	Boolean filepushData(MultipartFile file, String tmbId);

	Page datasetcoreList(Page page,DataVO dataVO) throws IOException;

	
	
	
	
}
